package org.datascooter.test.jpaHard;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable
public class EmploymentPeriod implements Serializable {

	private Date start = new Date();
	private Date end = new Date();

	@Column(nullable = false)
	public Date getStartDate() {
		return start;
	}

	public void setStartDate(Date start) {
		this.start = start;
	}

	public Date getEndDate() {
		return end;
	}

	public void setEndDate(Date end) {
		this.end = end;
	}
}
